package com.example.qinghe.dao.communication;

import com.example.qinghe.entity.communication.Enterprise;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * AdminMapper接口
 * 
 * @author ruoyi
 * @date 2023-07-29
 */
@Service
public interface EnterpriseMapper
{
    //根据id查看详细的组织架构详细
    Enterprise detail(@Param("id")Long id);
    //根据id查看该id下的组织
    List<Enterprise> sel(@Param("id")Long id);


    List<Enterprise> selAll();

    int adddepart(Enterprise enterprise);
}
